package cn.stylefeng.guns.modular.hx.storage.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 货物搬运
 * </p>
 *
 * @author ZDW
 * @since 2024-07-25
 */
@TableName("hx_xh_transport")
public class HxXhTransport implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 开始位置编号
     */
    @TableField("src_position_code")
    private String srcPositionCode;

    /**
     * 目标位置编号
     */
    @TableField("tar_position_code")
    private String tarPositionCode;

    /**
     * 任务创建人
     */
    @TableField(value = "create_user", fill = FieldFill.INSERT)
    private String createUser;

    /**
     * 任务创建人
     */
    @TableField(value = "create_user_name")
    private String createUserName;

    /**
     * 任务创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 搬运人
     */
    @TableField("transport_user")
    private String transportUser;

    /**
     * 搬运人名称
     */
    @TableField("transport_user_name")
    private String transportUserName;

    /**
     * 搬运数量
     */
    @TableField("transport_num")
    private String transportNum;

    /**
     * 状态：待接单，已结单，已完成
     */
    @TableField("state")
    private String state;

    /**
     * 接单时间
     */
    @TableField("accept_orders_time")
    private Date acceptOrdersTime;

    /**
     * 完成时间
     */
    @TableField("complete_time")
    private Date completeTime;

    /**
     * 仓库id
     */
    @TableField("warehouse_id")
    private Long warehouseId;

    /**
     * 仓库名称
     */
    @TableField("warehouse_name")
    private String warehouseName;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * 交付id
     */
    @TableField("deliver_id")
    private Long deliverId;

    /**
     * 项目id
     */
    @TableField("operate_id")
    private Long operateId;

    /**
     * 项目名称
     */
    @TableField("operate_name")
    private String operateName;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSrcPositionCode() {
        return srcPositionCode;
    }

    public void setSrcPositionCode(String srcPositionCode) {
        this.srcPositionCode = srcPositionCode;
    }

    public String getTarPositionCode() {
        return tarPositionCode;
    }

    public void setTarPositionCode(String tarPositionCode) {
        this.tarPositionCode = tarPositionCode;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getCreateUserName() {return createUserName; }

    public void setCreateUserName(String createUserName) {this.createUserName = createUserName;}

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getTransportUser() {
        return transportUser;
    }

    public void setTransportUser(String transportUser) {
        this.transportUser = transportUser;
    }

    public String getTransportUserName() {return transportUserName;}

    public void setTransportUserName(String transportUserName) {this.transportUserName = transportUserName;}

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Date getAcceptOrdersTime() {
        return acceptOrdersTime;
    }

    public void setAcceptOrdersTime(Date acceptOrdersTime) {
        this.acceptOrdersTime = acceptOrdersTime;
    }

    public Date getCompleteTime() {
        return completeTime;
    }

    public void setCompleteTime(Date completeTime) {
        this.completeTime = completeTime;
    }

    public Long getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(Long warehouseId) {
        this.warehouseId = warehouseId;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeliverId() {
        return deliverId;
    }

    public void setDeliverId(Long deliverId) {
        this.deliverId = deliverId;
    }

    public Long getOperateId() {
        return operateId;
    }

    public void setOperateId(Long operateId) {
        this.operateId = operateId;
    }

    public String getOperateName() {
        return operateName;
    }

    public void setOperateName(String operateName) {
        this.operateName = operateName;
    }

    public String getTransportNum() {return transportNum;}

    public void setTransportNum(String transportNum) {this.transportNum = transportNum;}

    @Override
    public String toString() {
        return "HxXhTransport{" +
        "id=" + id +
        ", srcPositionCode=" + srcPositionCode +
        ", tarPositionCode=" + tarPositionCode +
        ", createUser=" + createUser +
        ", createTime=" + createTime +
        ", transportUser=" + transportUser +
        ", state=" + state +
        ", acceptOrdersTime=" + acceptOrdersTime +
        ", completeTime=" + completeTime +
        ", warehouseId=" + warehouseId +
        ", warehouseName=" + warehouseName +
        ", deptId=" + deptId +
        ", deliverId=" + deliverId +
        ", operateId=" + operateId +
        ", operateName=" + operateName +
        ", transportUserName=" + transportUserName +
        ", createUserName=" + createUserName +
        ", transportNum=" + transportNum +

        "}";
    }
}
